<?php
/**
 * Created by PhpStorm.
 * User: Bazoo
 * Date: 16/1/9
 * Time: 下午5:34
 */
//*************************** EVENT 通讯码 *************************

// ----- 系统通讯  -----
// 测试通讯
define("EVENT_TEST","event_test");

// 日志文件地址
define('PATH_SYSTEM_LOG_ROOT','/var/log/restaurant_order_server/');

define('RESULT','Result');
// 错误信息
define('ERROR_MSG','ErrorMsg');

// 成功
define('RESULT_CODE_OK',200);
// 参数异常
define('RESULT_CODE_PARAM_ERROR',400);
// 会话已过期
define('RESULT_CODE_SESSION_EXPIRED',401);
// 非法操作
define('RESULT_CODE_ILLEGAL_OPERATION',403);
// 找不到该通讯
define('RESULT_CODE_NOT_FOUND',404);
// 预料外的错误
define('RESULT_CODE_INTERNAL_SERVER_ERROR',500);


define('SYS_EVENT','ActionType');
define('DATA_DICTIONARY','DataDictionary');

define('EVENT','event');
define('REQUEST_ID','RequestId');

define('MESSAGE','message');
define('OPERATION','operation');
define('TYPE','type');
define('DATA','data');

// -----  数据库表: nursery_stock__admin_user  -----

define('nursery_stock_admin_user','nursery_stock_admin_user');
define('ID','ID');
define('NAME','NAME');
define('PHONE_NUMBER','PHONE_NUMBER');
define('PASSWORD','PASSWORD');
define('RANK','RANK');
define('PAGE','PAGE');
define('STATE','STATE');
define('CREATED_ON','CREATED_ON');
define('CREATED_BY','CREATED_BY');
define('UPDATED_ON','UPDATED_ON');
define('UPDATED_BY','UPDATED_BY');


// -----  数据库表: nursery_stock__mng_group_mst  -----

define('nursery_stock_mng_group_mst','nursery_stock_mng_group_mst');
define('GROUP_ID','GROUP_ID');
define('GROUP_NAME','GROUP_NAME');
define('IMG','IMG');
define('DISPLAY_ORDER','DISPLAY_ORDER');
//define('STATE','STATE');
//define('CREATED_ON','CREATED_ON');
//define('CREATED_BY','CREATED_BY');
//define('UPDATED_ON','UPDATED_ON');
//define('UPDATED_BY','UPDATED_BY');

// -----  数据库表: nursery_stock__mng_page_mst  -----

define('nursery_stock_mng_page_mst','nursery_stock_mng_page_mst');
define('PAGE_ID','PAGE_ID');
define('PAGE_NAME','PAGE_NAME');
//define('GROUP_ID','GROUP_ID');
//define('DISPLAY_ORDER','DISPLAY_ORDER');
define('URL','URL');
//define('STATE','STATE');
//define('CREATED_ON','CREATED_ON');
//define('CREATED_BY','CREATED_BY');
//define('UPDATED_ON','UPDATED_ON');
//define('UPDATED_BY','UPDATED_BY');


// -----  数据库表: Nursery_stock_species  -----

define('Nursery_stock_species','Nursery_stock_species');
define('SPECIES_ID','SPECIES_ID');
define('SPECIES_NAME','SPECIES_NAME');
//define('CREATED_ON','CREATED_ON');
//define('CREATED_BY','CREATED_BY');
//define('UPDATED_ON','UPDATED_ON');
//define('UPDATED_BY','UPDATED_BY');


// -----  数据库表: Nursery_stock_species_group  -----

define('Nursery_stock_species_group','Nursery_stock_species_group');
define('SPECIES_GROUP_ID','SPECIES_GROUP_ID');
//define('SPECIES_ID','SPECIES_ID');
define('SPECIES_GROUP_NAME','SPECIES_GROUP_NAME');
//define('CREATED_ON','CREATED_ON');
//define('CREATED_BY','CREATED_BY');
//define('UPDATED_ON','UPDATED_ON');
//define('UPDATED_BY','UPDATED_BY');



// -----  数据库表: Nursery_stock_goods  -----

define('Nursery_stock_goods','Nursery_stock_goods');
define('GOODS_ID','GOODS_ID');
//define('SPECIES_GROUP_ID','SPECIES_GROUP_ID');
define('GOODS_NAME','GOODS_NAME');
define('PRICE','PRICE');
define('COUNTRY','COUNTRY');
define('PROVINCE','PROVINCE');
define('CITY','CITY');
define('COUNTY','COUNTY');
//define('STATE','STATE');
define('YEAR','YEAR');
define('MONTH','MONTH');
define('VISIT_COUNT','VISIT_COUNT');
//define('CREATED_ON','CREATED_ON');
//define('CREATED_BY','CREATED_BY');
//define('UPDATED_ON','UPDATED_ON');
//define('UPDATED_BY','UPDATED_BY');



//------ 后台管理页面 ------
//-- 组 --
define('GROUP_ADMIN_MNG',1);
define('GROUP_NURSERY_STOCK_MN',2);
define('GROUP_SALESMAN_MNG',3);
define('GROUP_FINANCE_MNG',4);
define('GROUP_STATISTICS_MNG',5);
define('GROUP_SYS_ANNOUNCEMENT_MNG',6);

//-- 页面 --
define('PAGE_ADMIN_ADD',101);
define('PAGE_ADMIN_LIST',102);

define('PAG_NURSERY_STOCK_SPECIES_ADD',201);
define('PAGE_NURSERY_STOCK_SPECIES__LIST',202);

define('PAGE_SALESMAN_ADD',301);
define('PAGE_SALESMAN_LIST',302);

define('PAGE_MANAGER_BALANCE_FLOW',401);

define('PAGE_STATISTICS_RESTAURANT_DAY_TURNOVER',501);

define('PAGE_MSG_TO_RESTAURANT',601);
define('PAGE_MSG_TO_RESTAURANT_LIST',602);
define('PAGE_ANNOUNCEMENT_TO_RESTAURANT',603);
define('PAGE_ANNOUNCEMENT_TO_RESTAURANT_LIST',604);
